package com.fc.remoting.exception;

public class IRemotingException extends RuntimeException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int defaultLevel = 1;
	
	public IRemotingException(){
		super();
	}
	
	public IRemotingException(Throwable e){
		super(e);
	}
	
	public IRemotingException(String msg){
		super(msg);
	}
	
	public IRemotingException(String msg,Throwable e){
		super(msg,e);
	}
	
	public IRemotingException(String msg,Throwable e,int level){
		super(msg,e);
		this.defaultLevel = level;
	}

	public int getDefaultLevel() {
		return defaultLevel;
	}

	public void setDefaultLevel(int defaultLevel) {
		this.defaultLevel = defaultLevel;
	}
}
